{% extends "base.html" %}
{% load static %}
{% block content %}
<p><a class="btn btn-default" href="{% url 'devices_device_list' %}">Device Listing</a></p>
<table class="table">
<tr>
<td>ID</td><td>Link</td>
    <td>camera_id</td>
    <td>created_time</td>
    <td>last_modified</td>
    <td>comera_name</td>
    <td>status</td>
</tr>
{% for object in object_list %}
<tr>
    <td>{{object.pk}}</td>
    <td><a href="{{object.get_absolute_url}}">{{object}}</a></td>
    <td>{{ object.camera_id }}</td>
    <td>{{ object.created_time }}</td>
    <td>{{ object.last_modified }}</td>
    <td>{{ object.comera_name }}</td>
    <td>{{ object.status }}</td>
</tr>
{% endfor %}
</table><a class="btn btn-primary" href="{% url 'devices_device_create' %}">Create new Device</a>
{% endblock %}